package com.hbfec.mqttmanager.service;

import com.hbfec.mqttmanager.mapper.MessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChatLogService {
    @Autowired
    private MessageMapper messageMapper;

    public List<String> getAll(String user)
    {
        return  messageMapper.getAll(user);
    }
}
